# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

MY_P=${PN}-${PV}-r1
DESCRIPTION="APSW - Another Python SQLite Wrapper"
HOMEPAGE="http://www.rogerbinns.com/apsw.html"
SRC_URI="http://heanet.dl.sourceforge.net/sourceforge/bitpim/${MY_P}.zip"
S=${WORKDIR}/${MY_P}
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="dev-lang/python
	>=dev-db/sqlite-3.2.1"
RDEPEND="${DEPEND}"

PYTHON_MODNAME="apsw"

src_install() {
	einfo "Building and installing python module"
	distutils_src_install
	}
								
